package cn.qicaiwang.open.qxyApi.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 企享云API配置属性类
 * 自动绑定application.yml中的qxy.api前缀配置
 */
@Data
@Component
@ConfigurationProperties(prefix = "qxy")
public class QxyApiProperties {
    private String url;
    private String appKey;
    private String appSecret;
    private int tokenExpire;
    private String redisKeyPrefix;
    private int retryTimes;
    private int connectTimeout;
    private int readTimeout;

    // 省略getter/setter...
}